package com.etymgiko.lyricshere.manager;

import com.etymgiko.lyricshere.model.Song;
import com.etymgiko.lyricshere.model.Artist;

import java.util.List;

/**
 *
 * @author Ivan Holub
 */
public interface SongManager {
    Song getSong(Long id);

    void saveSong(Song song);

    List<Song> getSongs(Long artistId);

    void deleteSong(Long id);

    void updateSong(Song song);

    Song findSongByCode(Long artistId, String code);

    List<Song> getSongs();

    Song findSongByTitle(Long artistId, String title);
}
